display the contents of the window